﻿using System;


namespace DailyFx
{
	/// <summary>
	///		
	/// </summary>
	public interface IVariant
	{
		/// <summary>
		///     Gets or sets value at the specified field.
		/// </summary>
		Decimal this [ Int32 field ] { get; set; }

		/// <summary>
		///     Gets how many fields in this structured variant  ?
		/// </summary>
		Int32 Rank { get; }
	}

}
